From 99598dfc8a2e394eee9448ede3d6bd5d7750973b Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Fri, 9 Mar 2007 01:59:59 +0000 Subject: [PATCH] Improve error message. Signed-off-by: Tom Wilkie --- tools/python/xen/xm/XenAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xm/XenAPI.py b/tools/python/xen/xm/XenAPI.py index 8d58c3f7f6..e557b9ccb8 100644 --- a/tools/python/xen/xm/XenAPI.py +++ b/tools/python/xen/xm/XenAPI.py @@ -155,7 +155,7 @@ class Session(xen.util.xmlrpclib2.ServerProxy): def _parse_result(result): if type(result) != dict or 'Status' not in result: - raise xmlrpclib.Fault(500, 'Missing Status in response from server') + raise xmlrpclib.Fault(500, 'Missing Status in response from server' + result) if result['Status'] == 'Success': if 'Value' in result: return result['Value'] -- 2.30.2